package com.hdax.dm.mapstucts.descMapper;

import com.hdax.dm.beans.item.Item;
import com.hdax.dm.dto.descDto.getRecommendDto;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "Spring")
public abstract class getRecommendDtoMapper {

    public abstract getRecommendDto toTarget(Item source);

    public abstract List<getRecommendDto> toTargetList(List<Item> sources);
}
